home *** CD-ROM | disk | FTP | other *** search
/ Micromanía 92 / CDMM92_1.ISO / SOF 2 SDK / sof2sdk-101.msi / _92D6AC311BB48EBA344BBABC89DA6AB0 / _C46E342327BD45BBA5112306FD911004 < prev    next >
Encoding:
Text File  |  2002-05-09  |  10.1 KB  |  230 lines

  1.  
  2. #define ITEM_TYPE_TEXT 0                  // simple text
  3. #define ITEM_TYPE_BUTTON 1                // button, basically text with a border 
  4. #define ITEM_TYPE_RADIOBUTTON 2           // toggle button, may be grouped 
  5. #define ITEM_TYPE_CHECKBOX 3              // check box
  6. #define ITEM_TYPE_EDITFIELD 4             // editable text, associated with a cvar
  7. #define ITEM_TYPE_COMBO 5                 // drop down list
  8. #define ITEM_TYPE_LISTBOX 6               // scrollable list  
  9. #define ITEM_TYPE_MODEL 7                 // model
  10. #define ITEM_TYPE_OWNERDRAW 8             // owner draw, name specs what it is
  11. #define ITEM_TYPE_NUMERICFIELD 9          // editable text, associated with a cvar
  12. #define ITEM_TYPE_SLIDER 10               // mouse speed, volume, etc.
  13. #define ITEM_TYPE_YESNO 11                // yes no cvar setting
  14. #define ITEM_TYPE_MULTI 12                // multiple list setting, enumerated
  15. #define ITEM_TYPE_BIND 13                  // multiple list setting, enumerated
  16. #define ITEM_TYPE_PASSWORDFIELD        14      // password field
  17. #define ITEM_TYPE_COMBOBOX            15      // Drop down combo box
  18. #define ITEM_TYPE_TEXTSCROLL        16          // scrolls text
  19.     
  20. #define ITEM_ALIGN_LEFT 0                 // left alignment
  21. #define ITEM_ALIGN_CENTER 1               // center alignment
  22. #define ITEM_ALIGN_RIGHT 2                // right alignment
  23.  
  24. #define ITEM_TEXTSTYLE_NORMAL 0           // normal text
  25. #define ITEM_TEXTSTYLE_BLINK 1            // fast blinking
  26. #define ITEM_TEXTSTYLE_PULSE 2            // slow pulsing
  27. #define ITEM_TEXTSTYLE_SHADOWED 3         // drop shadow ( need a color for this )
  28. #define ITEM_TEXTSTYLE_OUTLINED 4         // drop shadow ( need a color for this )
  29. #define ITEM_TEXTSTYLE_OUTLINESHADOWED 5  // drop shadow ( need a color for this )
  30. #define ITEM_TEXTSTYLE_SHADOWEDMORE 6         // drop shadow ( need a color for this )
  31.                           
  32. #define WINDOW_BORDER_NONE 0              // no border
  33. #define WINDOW_BORDER_FULL 1              // full border based on border color ( single pixel )
  34. #define WINDOW_BORDER_HORZ 2              // horizontal borders only
  35. #define WINDOW_BORDER_VERT 3              // vertical borders only 
  36.   
  37. #define WINDOW_STYLE_EMPTY        0         // no background
  38. #define WINDOW_STYLE_FILLED        1         // filled with background color
  39. #define WINDOW_STYLE_SHADER        2         // Shaders
  40. #define WINDOW_STYLE_CINEMATIC    3         // cinematic
  41.  
  42. #define MENU_TRUE 1                       // uh.. true
  43. #define MENU_FALSE 0                      // and false
  44.  
  45. #define HUD_VERTICAL                0x00
  46. #define HUD_HORIZONTAL                0x01
  47.  
  48. // list box element types
  49. #define LISTBOX_TEXT  0x00
  50. #define LISTBOX_IMAGE 0x01
  51.  
  52. // list feeders
  53. #define FEEDER_HEADS                        0            // model heads
  54. #define FEEDER_MAPS                            1            // text maps based on game type
  55. #define FEEDER_SERVERS                        2            // servers
  56. #define FEEDER_CLANS                        3            // clan names
  57. #define FEEDER_ALLMAPS                        4            // all maps available, in graphic format
  58. #define FEEDER_VOTEMAPS                        5            // all maps available, in graphic format
  59. #define FEEDER_PLAYER_LIST                    6            // players
  60. #define FEEDER_TEAMIDENTITIES                7            // team members for team voting
  61. #define FEEDER_MODS                            8            // team members for team voting
  62. #define FEEDER_DEMOS                         9            // team members for team voting
  63. #define FEEDER_SCOREBOARD                    10            // team members for team voting
  64. #define FEEDER_IDENTITIES                    11            // identities
  65. #define FEEDER_SERVERSTATUS                    12            // server status
  66. #define FEEDER_FINDPLAYER                    13            // find player
  67. #define FEEDER_CINEMATICS                    14            // cinematics
  68. #define FEEDER_OUTFITTING_TEMPLATES            16                // templates for outfitting
  69. #define FEEDER_NEWVERSION_WEBSITES            17            // Websites for the newest version of SOF2MP
  70. #define FEEDER_NEWVERSION_TEXT                18            // Notes on the newest version of SOF2MP
  71.  
  72. #define CG_SHOW_ANYTEAMGAME               0x00000004
  73. #define CG_SHOW_LANPLAYONLY                  0x00000020
  74. #define CG_SHOW_ANYNONTEAMGAME            0x00000100
  75. #define CG_SHOW_2DONLY                      0x00000200
  76.  
  77. #define CG_SHOW_ONREDTEAM                  0x00000400
  78. #define CG_SHOW_ONBLUETEAM                  0x00000800
  79.  
  80. #define CG_SHOW_HUD_HEALTH                  0x00020000
  81. #define CG_SHOW_HUD_WEAPONINFO              0x00040000
  82. #define CG_SHOW_HUD_SNIPERSCOPE              0x00080000
  83. #define CG_SHOW_HUD_FUNDS                  0x00100000
  84. #define CG_SHOW_HUD_TIMER                  0x00200000
  85. #define CG_SHOW_HUD_NIGHTVISION              0x00400000
  86. #define CG_SHOW_HUD_THERMAL                  0x00800000
  87. #define    CG_SHOW_PLAYER_ALT_WEAPONINFO      0x20000000
  88. #define CG_HIDE_PLAYER_ALT_WEAPONINFO      0x40000000
  89.  
  90.  
  91. #define UI_SHOW_LEADER                      0x00000001
  92. #define UI_SHOW_NOTLEADER                  0x00000002
  93. #define UI_SHOW_FAVORITESERVERS              0x00000004
  94. #define UI_SHOW_ANYNONTEAMGAME              0x00000008
  95. #define UI_SHOW_ANYTEAMGAME                  0x00000010
  96. #define UI_SHOW_NEWHIGHSCORE              0x00000020
  97. #define UI_SHOW_DEMOAVAILABLE              0x00000040
  98. #define UI_SHOW_NEWBESTTIME                  0x00000080
  99. #define UI_SHOW_NETANYNONTEAMGAME           0x00000400
  100. #define UI_SHOW_NETANYTEAMGAME               0x00000800
  101. #define UI_SHOW_NOTFAVORITESERVERS          0x00001000
  102.  
  103. // owner draw types
  104. // ideally these should be done outside of this file but
  105. // this makes it much easier for the macro expansion to 
  106. // convert them for the designers ( from the .menu files )
  107. #define CG_OWNERDRAW_BASE                1
  108.                                         
  109. #define CG_PLAYER_SCORE                    2
  110.                                         
  111. #define CG_BLUE_SCORE                    3
  112. #define CG_RED_SCORE                    4
  113. #define CG_RED_NAME                        5
  114. #define CG_BLUE_NAME                    6
  115. #define CG_PLAYER_LOCATION                8
  116. #define CG_TEAM_COLOR                    9                                       
  117. #define CG_GAME_TYPE                    10
  118. #define CG_GAME_STATUS                    11
  119. #define CG_1STPLACE                        13
  120. #define CG_2NDPLACE                        14
  121. #define CG_WEAPON_LIST                    15
  122.  
  123. #define    CG_PLAYER_HEALTH                16
  124. #define CG_PLAYER_HEALTH_FADE            17
  125. #define CG_PLAYER_ARMOR                    18
  126. #define CG_PLAYER_ARMOR_FADE            19
  127. #define CG_PLAYER_WEAPON_NAME            20
  128. #define CG_PLAYER_WEAPON_AMMO            21
  129. #define CG_PLAYER_WEAPON_CLIP            22
  130. #define CG_PLAYER_WEAPON_MODE            23
  131. #define    CG_PLAYER_ALT_WEAPON_NAME        24
  132. #define CG_PLAYER_ALT_WEAPON_AMMO        25
  133. #define CG_PLAYER_ALT_WEAPON_AMMOICON    26
  134.  
  135. #define CG_TEAMINFO                        27
  136.  
  137. #define CG_PLAYER_SNIPER_BULLET_1        28
  138. #define CG_PLAYER_SNIPER_BULLET_2        29
  139. #define CG_PLAYER_SNIPER_BULLET_3        30
  140. #define CG_PLAYER_SNIPER_BULLET_4        31
  141. #define CG_PLAYER_SNIPER_BULLET_5        32
  142. #define CG_PLAYER_SNIPER_BULLET_6        33
  143.  
  144. #define    CG_USE_ICON                        34
  145. #define    CG_PLAYER_GAMETYPE_ITEMS        35
  146. #define CG_PLAYER_SNIPER_MAGNIFICATION    36
  147.  
  148. #define UI_OWNERDRAW_BASE 200
  149. #define UI_EFFECTS 201
  150. #define UI_PLAYERMODEL 202
  151. #define UI_GAMETYPE 205
  152. #define UI_MAPPREVIEW 206
  153. #define UI_SKILL 207
  154. #define UI_NETSOURCE 220
  155. #define UI_NETMAPPREVIEW 221
  156. #define UI_NETFILTER 222
  157. #define UI_ALLMAPS_SELECTION 236
  158. #define UI_VOTE_KICK 238
  159. #define UI_BOTNAME 239
  160. #define UI_BOTSKILL 240
  161. #define UI_REDBLUE 241
  162. #define UI_CROSSHAIR 242
  163. #define UI_SELECTEDPLAYER 243
  164. #define UI_MAPCINEMATIC 244
  165. #define UI_NETGAMETYPE 245
  166. #define UI_NETMAPCINEMATIC 246
  167. #define UI_SERVERREFRESHDATE 247
  168. #define UI_SERVERMOTD 248
  169. #define UI_GLINFO  249
  170. #define UI_MAP_TIMETOBEAT 252
  171. #define UI_JOINGAMETYPE 253
  172. #define UI_PREVIEWCINEMATIC 254
  173. #define UI_STARTMAPCINEMATIC 255
  174. #define UI_MAPS_SELECTION 256
  175. #define UI_VERSIONDOWNLOAD_PROGRESS 257
  176.  
  177. #define UI_REDTEAM_IDENTITY                260
  178. #define UI_BLUETEAM_IDENTITY            261
  179.  
  180. #define UI_OUTFITTING_SLOT                270
  181. #define UI_OUTFITTING_SLOT_RENDER        271
  182. #define UI_OUTFITTING_SLOT_NAME            272
  183. #define UI_OUTFITTING_SLOT_COST            273
  184. #define UI_OUTFITTING_SLOT_BACKGROUND    274
  185.  
  186. #define UI_OBJECTIVE_PHOTOS                275
  187.  
  188. #define VOICECHAT_GETFLAG            "getflag"                // command someone to get the flag
  189. #define VOICECHAT_OFFENSE            "offense"                // command someone to go on offense
  190. #define VOICECHAT_DEFEND            "defend"                // command someone to go on defense
  191. #define VOICECHAT_DEFENDFLAG        "defendflag"            // command someone to defend the flag
  192. #define VOICECHAT_PATROL            "patrol"                // command someone to go on patrol (roam)
  193. #define VOICECHAT_CAMP                "camp"                    // command someone to camp (we don't have sounds for this one)
  194. #define VOICECHAT_FOLLOWME            "followme"                // command someone to follow you
  195. #define VOICECHAT_RETURNFLAG        "returnflag"            // command someone to return our flag
  196. #define VOICECHAT_FOLLOWFLAGCARRIER    "followflagcarrier"        // command someone to follow the flag carrier
  197. #define VOICECHAT_YES                "yes"                    // yes, affirmative, etc.
  198. #define VOICECHAT_NO                "no"                    // no, negative, etc.
  199. #define VOICECHAT_ONGETFLAG            "ongetflag"                // I'm getting the flag
  200. #define VOICECHAT_ONOFFENSE            "onoffense"                // I'm on offense
  201. #define VOICECHAT_ONDEFENSE            "ondefense"                // I'm on defense
  202. #define VOICECHAT_ONPATROL            "onpatrol"                // I'm on patrol (roaming)
  203. #define VOICECHAT_ONCAMPING            "oncamp"                // I'm camping somewhere
  204. #define VOICECHAT_ONFOLLOW            "onfollow"                // I'm following
  205. #define VOICECHAT_ONFOLLOWCARRIER    "onfollowcarrier"        // I'm following the flag carrier
  206. #define VOICECHAT_ONRETURNFLAG        "onreturnflag"            // I'm returning our flag
  207. #define VOICECHAT_INPOSITION        "inposition"            // I'm in position
  208. #define VOICECHAT_IHAVEFLAG            "ihaveflag"                // I have the flag
  209. #define VOICECHAT_BASEATTACK        "baseattack"            // the base is under attack
  210. #define VOICECHAT_ENEMYHASFLAG        "enemyhasflag"            // the enemy has our flag (CTF)
  211. #define VOICECHAT_STARTLEADER        "startleader"            // I'm the leader
  212. #define VOICECHAT_STOPLEADER        "stopleader"            // I resign leadership
  213. #define VOICECHAT_TRASH                "trash"                    // lots of trash talk
  214. #define VOICECHAT_WHOISLEADER        "whoisleader"            // who is the team leader
  215. #define VOICECHAT_WANTONDEFENSE        "wantondefense"            // I want to be on defense
  216. #define VOICECHAT_WANTONOFFENSE        "wantonoffense"            // I want to be on offense
  217. #define VOICECHAT_KILLINSULT        "kill_insult"            // I just killed you
  218. #define VOICECHAT_TAUNT                "taunt"                    // I want to taunt you
  219. #define VOICECHAT_DEATHINSULT        "death_insult"            // you just killed me
  220. #define VOICECHAT_KILLGAUNTLET        "kill_gauntlet"            // I just killed you with the gauntlet
  221. #define VOICECHAT_PRAISE            "praise"                // you did something good
  222.  
  223. #define OUTFITTING_GROUP_PRIMARY    0
  224. #define OUTFITTING_GROUP_SECONDARY    1
  225. #define OUTFITTING_GROUP_PISTOL        2
  226. #define OUTFITTING_GROUP_GRENADE    3
  227. #define OUTFITTING_GROUP_ACCESSORY    4
  228. #define OUTFITTING_GROUP_MAX        5
  229. #define OUTFITTING_GROUP_KNIFE        6
  230.